package com.campus.delivery.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.campus.common.mybatis.entity.IntegerIdBaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 配送员申请表
 * </p>
 *
 * @author ZhaoYuJie
 * @since 2025-05-12
 */
@Getter
@Setter
@TableName("delivery_apply")
@ApiModel(value = "DeliveryApply对象", description = "配送员申请表")
public class DeliveryApply extends IntegerIdBaseEntity<DeliveryApply> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("配送员用户ID")
    @TableField("delivery_user_id")
    private Integer deliveryUserId;

    @ApiModelProperty("姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty("身份证")
    @TableField("id_card")
    private String idCard;

    @ApiModelProperty("学生证")
    @TableField("student_card")
    private String studentCard;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("审核状态：0-待审核，1-审核通过，2-审核拒绝")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("审核拒绝原因")
    @TableField("reject_reason")
    private String rejectReason;

    @ApiModelProperty("申请时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @Override
    public Serializable pkVal() {
        return null;
    }
}
